package com.webster.isw.core.email;

import java.util.Arrays;

/**
 * ClassName: MailSenderInfo
 * Description: 邮件发送信息
 * Author: Administrator
 * Date: 2016年3月23日
 */
public class MailSenderInfo {
    /**
     * Field toAddress: 邮件接收者的地址
     */
    private String toAddress;
    /**
     * Field title: 邮件主题
     */
    private String title;
    /**
     * Field content: 邮件的文本内容
     */
    private String content;
    /**
     * Field attachFileNames: 邮件附件的文件名
     */
    private String[] attachFileNames;

    public MailSenderInfo() {
    }

    public MailSenderInfo(String toAddress, String title, String content, String[] attachFileNames) {
        this.toAddress = toAddress;
        this.title = title;
        this.content = content;
        this.attachFileNames = attachFileNames;
    }

    public String getToAddress() {
        return this.toAddress;
    }

    public void setToAddress(String toAddress) {
        this.toAddress = toAddress;
    }

    public String getTitle() {
        return this.title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return this.content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String[] getAttachFileNames() {
        return Arrays.copyOf(this.attachFileNames, this.attachFileNames.length);
    }

    public void setAttachFileNames(String[] attachFileNames) {
        this.attachFileNames = Arrays.copyOf(attachFileNames, attachFileNames.length);
    }

}
